/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package converter.core.db.entity;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author Snark
 */
@Entity
@Table(name = "DEP_SCIENCE_JOBS")
@NamedQueries({
    @NamedQuery(name = "DepScienceJobs.findAll", query = "SELECT d FROM DepScienceJobs d"),
    @NamedQuery(name = "DepScienceJobs.findBySysFldorder", query = "SELECT d FROM DepScienceJobs d WHERE d.sysFldorder = :sysFldorder"),
    @NamedQuery(name = "DepScienceJobs.findBySysGuid", query = "SELECT d FROM DepScienceJobs d WHERE d.sysGuid = :sysGuid"),
    @NamedQuery(name = "DepScienceJobs.findBySysState", query = "SELECT d FROM DepScienceJobs d WHERE d.sysState = :sysState"),
    @NamedQuery(name = "DepScienceJobs.findBySysRev", query = "SELECT d FROM DepScienceJobs d WHERE d.sysRev = :sysRev"),
    @NamedQuery(name = "DepScienceJobs.findBySysCreated", query = "SELECT d FROM DepScienceJobs d WHERE d.sysCreated = :sysCreated"),
    @NamedQuery(name = "DepScienceJobs.findBySysUpdated", query = "SELECT d FROM DepScienceJobs d WHERE d.sysUpdated = :sysUpdated"),
    @NamedQuery(name = "DepScienceJobs.findBySysCreator", query = "SELECT d FROM DepScienceJobs d WHERE d.sysCreator = :sysCreator"),
    @NamedQuery(name = "DepScienceJobs.findBySysUser", query = "SELECT d FROM DepScienceJobs d WHERE d.sysUser = :sysUser"),
    @NamedQuery(name = "DepScienceJobs.findBySysGuidfk", query = "SELECT d FROM DepScienceJobs d WHERE d.sysGuidfk = :sysGuidfk"),
    @NamedQuery(name = "DepScienceJobs.findBySysParentguid", query = "SELECT d FROM DepScienceJobs d WHERE d.sysParentguid = :sysParentguid"),
    @NamedQuery(name = "DepScienceJobs.findByJobName", query = "SELECT d FROM DepScienceJobs d WHERE d.jobName = :jobName"),
    @NamedQuery(name = "DepScienceJobs.findByJobCode", query = "SELECT d FROM DepScienceJobs d WHERE d.jobCode = :jobCode"),
    @NamedQuery(name = "DepScienceJobs.findByStatefk", query = "SELECT d FROM DepScienceJobs d WHERE d.statefk = :statefk"),
    @NamedQuery(name = "DepScienceJobs.findBySpecialityfk", query = "SELECT d FROM DepScienceJobs d WHERE d.specialityfk = :specialityfk"),
    @NamedQuery(name = "DepScienceJobs.findByTypefk", query = "SELECT d FROM DepScienceJobs d WHERE d.typefk = :typefk"),
    @NamedQuery(name = "DepScienceJobs.findByCodegrnti", query = "SELECT d FROM DepScienceJobs d WHERE d.codegrnti = :codegrnti"),
    @NamedQuery(name = "DepScienceJobs.findByOrganizationfk", query = "SELECT d FROM DepScienceJobs d WHERE d.organizationfk = :organizationfk"),
    @NamedQuery(name = "DepScienceJobs.findByTeacherfk", query = "SELECT d FROM DepScienceJobs d WHERE d.teacherfk = :teacherfk"),
    @NamedQuery(name = "DepScienceJobs.findByProgramfk", query = "SELECT d FROM DepScienceJobs d WHERE d.programfk = :programfk"),
    @NamedQuery(name = "DepScienceJobs.findByBegindate", query = "SELECT d FROM DepScienceJobs d WHERE d.begindate = :begindate"),
    @NamedQuery(name = "DepScienceJobs.findByEnddate", query = "SELECT d FROM DepScienceJobs d WHERE d.enddate = :enddate"),
    @NamedQuery(name = "DepScienceJobs.findByFinanceSouscefk", query = "SELECT d FROM DepScienceJobs d WHERE d.financeSouscefk = :financeSouscefk"),
    @NamedQuery(name = "DepScienceJobs.findByGoal", query = "SELECT d FROM DepScienceJobs d WHERE d.goal = :goal"),
    @NamedQuery(name = "DepScienceJobs.findByPlan", query = "SELECT d FROM DepScienceJobs d WHERE d.plan = :plan"),
    @NamedQuery(name = "DepScienceJobs.findByTasks", query = "SELECT d FROM DepScienceJobs d WHERE d.tasks = :tasks"),
    @NamedQuery(name = "DepScienceJobs.findByFakt", query = "SELECT d FROM DepScienceJobs d WHERE d.fakt = :fakt"),
    @NamedQuery(name = "DepScienceJobs.findByScResult", query = "SELECT d FROM DepScienceJobs d WHERE d.scResult = :scResult"),
    @NamedQuery(name = "DepScienceJobs.findByWaitResult", query = "SELECT d FROM DepScienceJobs d WHERE d.waitResult = :waitResult"),
    @NamedQuery(name = "DepScienceJobs.findByPrResult", query = "SELECT d FROM DepScienceJobs d WHERE d.prResult = :prResult"),
    @NamedQuery(name = "DepScienceJobs.findByAnnotation", query = "SELECT d FROM DepScienceJobs d WHERE d.annotation = :annotation"),
    @NamedQuery(name = "DepScienceJobs.findByLectures", query = "SELECT d FROM DepScienceJobs d WHERE d.lectures = :lectures"),
    @NamedQuery(name = "DepScienceJobs.findByWorkshops", query = "SELECT d FROM DepScienceJobs d WHERE d.workshops = :workshops"),
    @NamedQuery(name = "DepScienceJobs.findByCourseworks", query = "SELECT d FROM DepScienceJobs d WHERE d.courseworks = :courseworks"),
    @NamedQuery(name = "DepScienceJobs.findByTheses", query = "SELECT d FROM DepScienceJobs d WHERE d.theses = :theses")})
public class DepScienceJobs implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(name = "SYS_FLDORDER")
    private Integer sysFldorder;
    @Id
    @Basic(optional = false)
    @Column(name = "SYS_GUID")
    private String sysGuid;
    @Column(name = "SYS_STATE")
    private Integer sysState;
    @Column(name = "SYS_REV")
    private BigInteger sysRev;
    @Column(name = "SYS_CREATED")
    @Temporal(TemporalType.TIMESTAMP)
    private Date sysCreated;
    @Column(name = "SYS_UPDATED")
    @Temporal(TemporalType.TIMESTAMP)
    private Date sysUpdated;
    @Column(name = "SYS_CREATOR")
    private String sysCreator;
    @Column(name = "SYS_USER")
    private String sysUser;
    @Column(name = "SYS_GUIDFK")
    private String sysGuidfk;
    @Column(name = "SYS_PARENTGUID")
    private String sysParentguid;
    @Column(name = "JOB_NAME")
    private String jobName;
    @Column(name = "JOB_CODE")
    private String jobCode;
    @Column(name = "STATEFK")
    private String statefk;
    @Column(name = "SPECIALITYFK")
    private String specialityfk;
    @Column(name = "TYPEFK")
    private String typefk;
    @Column(name = "CODEGRNTI")
    private String codegrnti;
    @Column(name = "ORGANIZATIONFK")
    private String organizationfk;
    @Column(name = "TEACHERFK")
    private String teacherfk;
    @Lob
    @Column(name = "TEACHERSFK")
    private String teachersfk;
    @Lob
    @Column(name = "STUDENTFK")
    private String studentfk;
    @Column(name = "PROGRAMFK")
    private String programfk;
    @Column(name = "BEGINDATE")
    @Temporal(TemporalType.DATE)
    private Date begindate;
    @Column(name = "ENDDATE")
    @Temporal(TemporalType.DATE)
    private Date enddate;
    @Column(name = "FINANCE_SOUSCEFK")
    private String financeSouscefk;
    @Column(name = "GOAL")
    private String goal;
    @Column(name = "PLAN")
    private Integer plan;
    @Column(name = "TASKS")
    private String tasks;
    @Column(name = "FAKT")
    private Integer fakt;
    @Column(name = "SC_RESULT")
    private String scResult;
    @Column(name = "WAIT_RESULT")
    private String waitResult;
    @Column(name = "PR_RESULT")
    private String prResult;
    @Column(name = "ANNOTATION")
    private String annotation;
    @Column(name = "LECTURES")
    private Integer lectures;
    @Column(name = "WORKSHOPS")
    private Integer workshops;
    @Column(name = "COURSEWORKS")
    private Integer courseworks;
    @Column(name = "THESES")
    private Integer theses;

    public DepScienceJobs() {
    }

    public DepScienceJobs(String sysGuid) {
        this.sysGuid = sysGuid;
    }

    public Integer getSysFldorder() {
        return sysFldorder;
    }

    public void setSysFldorder(Integer sysFldorder) {
        this.sysFldorder = sysFldorder;
    }

    public String getSysGuid() {
        return sysGuid;
    }

    public void setSysGuid(String sysGuid) {
        this.sysGuid = sysGuid;
    }

    public Integer getSysState() {
        return sysState;
    }

    public void setSysState(Integer sysState) {
        this.sysState = sysState;
    }

    public BigInteger getSysRev() {
        return sysRev;
    }

    public void setSysRev(BigInteger sysRev) {
        this.sysRev = sysRev;
    }

    public Date getSysCreated() {
        return sysCreated;
    }

    public void setSysCreated(Date sysCreated) {
        this.sysCreated = sysCreated;
    }

    public Date getSysUpdated() {
        return sysUpdated;
    }

    public void setSysUpdated(Date sysUpdated) {
        this.sysUpdated = sysUpdated;
    }

    public String getSysCreator() {
        return sysCreator;
    }

    public void setSysCreator(String sysCreator) {
        this.sysCreator = sysCreator;
    }

    public String getSysUser() {
        return sysUser;
    }

    public void setSysUser(String sysUser) {
        this.sysUser = sysUser;
    }

    public String getSysGuidfk() {
        return sysGuidfk;
    }

    public void setSysGuidfk(String sysGuidfk) {
        this.sysGuidfk = sysGuidfk;
    }

    public String getSysParentguid() {
        return sysParentguid;
    }

    public void setSysParentguid(String sysParentguid) {
        this.sysParentguid = sysParentguid;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobCode() {
        return jobCode;
    }

    public void setJobCode(String jobCode) {
        this.jobCode = jobCode;
    }

    public String getStatefk() {
        return statefk;
    }

    public void setStatefk(String statefk) {
        this.statefk = statefk;
    }

    public String getSpecialityfk() {
        return specialityfk;
    }

    public void setSpecialityfk(String specialityfk) {
        this.specialityfk = specialityfk;
    }

    public String getTypefk() {
        return typefk;
    }

    public void setTypefk(String typefk) {
        this.typefk = typefk;
    }

    public String getCodegrnti() {
        return codegrnti;
    }

    public void setCodegrnti(String codegrnti) {
        this.codegrnti = codegrnti;
    }

    public String getOrganizationfk() {
        return organizationfk;
    }

    public void setOrganizationfk(String organizationfk) {
        this.organizationfk = organizationfk;
    }

    public String getTeacherfk() {
        return teacherfk;
    }

    public void setTeacherfk(String teacherfk) {
        this.teacherfk = teacherfk;
    }

    public String getTeachersfk() {
        return teachersfk;
    }

    public void setTeachersfk(String teachersfk) {
        this.teachersfk = teachersfk;
    }

    public String getStudentfk() {
        return studentfk;
    }

    public void setStudentfk(String studentfk) {
        this.studentfk = studentfk;
    }

    public String getProgramfk() {
        return programfk;
    }

    public void setProgramfk(String programfk) {
        this.programfk = programfk;
    }

    public Date getBegindate() {
        return begindate;
    }

    public void setBegindate(Date begindate) {
        this.begindate = begindate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public String getFinanceSouscefk() {
        return financeSouscefk;
    }

    public void setFinanceSouscefk(String financeSouscefk) {
        this.financeSouscefk = financeSouscefk;
    }

    public String getGoal() {
        return goal;
    }

    public void setGoal(String goal) {
        this.goal = goal;
    }

    public Integer getPlan() {
        return plan;
    }

    public void setPlan(Integer plan) {
        this.plan = plan;
    }

    public String getTasks() {
        return tasks;
    }

    public void setTasks(String tasks) {
        this.tasks = tasks;
    }

    public Integer getFakt() {
        return fakt;
    }

    public void setFakt(Integer fakt) {
        this.fakt = fakt;
    }

    public String getScResult() {
        return scResult;
    }

    public void setScResult(String scResult) {
        this.scResult = scResult;
    }

    public String getWaitResult() {
        return waitResult;
    }

    public void setWaitResult(String waitResult) {
        this.waitResult = waitResult;
    }

    public String getPrResult() {
        return prResult;
    }

    public void setPrResult(String prResult) {
        this.prResult = prResult;
    }

    public String getAnnotation() {
        return annotation;
    }

    public void setAnnotation(String annotation) {
        this.annotation = annotation;
    }

    public Integer getLectures() {
        return lectures;
    }

    public void setLectures(Integer lectures) {
        this.lectures = lectures;
    }

    public Integer getWorkshops() {
        return workshops;
    }

    public void setWorkshops(Integer workshops) {
        this.workshops = workshops;
    }

    public Integer getCourseworks() {
        return courseworks;
    }

    public void setCourseworks(Integer courseworks) {
        this.courseworks = courseworks;
    }

    public Integer getTheses() {
        return theses;
    }

    public void setTheses(Integer theses) {
        this.theses = theses;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (sysGuid != null ? sysGuid.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof DepScienceJobs)) {
            return false;
        }
        DepScienceJobs other = (DepScienceJobs) object;
        if ((this.sysGuid == null && other.sysGuid != null) || (this.sysGuid != null && !this.sysGuid.equals(other.sysGuid))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "javaapplication1.entity.DepScienceJobs[ sysGuid=" + sysGuid + " ]";
    }
    
}
